export interface LibrarySize {
  sizeId: string;
  sizeDesc: string;
  width: number;
  height: number;
  createTime: string;
  updateTime?: any;
}
const LibraryTypeMap = {
  "0": "图片",
  "1": "视频",
  "2": "文档",
  "3": "音频",
  "4": "其他",
  "5": "压缩包"
};
export type LibraryType = "0" | "1" | "2" | "3" | "4" | "5";
export interface Library {
  func: null;
  storeName: null;
  sizeDesc: string;

  resId: string;
  name: string;
  type: LibraryType;
  lang: string;
  word: string;
  uri: string;
  reason?: string;
  /* 0:私有，1：共享 */
  share: "0" | "1";
  md5: string;
  format: string;
  bytes: number;
  oss: "0" | "1";
  /* 0：正常，1：审核中，2：被驳回 */
  status: "0" | "1" | "2";
  deptId: string;
  sizeId: string;
  createBy: string;
  createTime: string;
  updateBy?: any;
  updateTime?: any;
  cover: string;
  mode: "0" | "1";
}
export interface RejectData {
  resId: string;
  reason: string;
}
